]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Fix stray/missing semi-colons
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 29 Jan 2019 01:18:52 +0000 (02:18 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 1 Jul 2019 21:44:11 +0000 (23:44 +0200)
Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/607

45 files changed:
js/gdm/loginDialog.js
js/gdm/realmd.js
js/gdm/util.js
js/misc/fileUtils.js
js/misc/inputMethod.js
js/misc/modemManager.js
js/misc/permissionStore.js
js/misc/util.js
js/perf/hwtest.js
js/ui/altTab.js
js/ui/appDisplay.js
js/ui/appFavorites.js
js/ui/audioDeviceSelection.js
js/ui/barLevel.js
js/ui/boxpointer.js
js/ui/closeDialog.js
js/ui/components/keyring.js
js/ui/components/networkAgent.js
js/ui/components/polkitAgent.js
js/ui/dash.js
js/ui/dateMenu.js
js/ui/dnd.js
js/ui/ibusCandidatePopup.js
js/ui/iconGrid.js
js/ui/keyboard.js
js/ui/locatePointer.js
js/ui/modalDialog.js
js/ui/notificationDaemon.js
js/ui/overviewControls.js
js/ui/padOsd.js
js/ui/panel.js
js/ui/pointerA11yTimeout.js
js/ui/popupMenu.js
js/ui/screenShield.js
js/ui/screenshot.js
js/ui/shellEntry.js
js/ui/slider.js
js/ui/status/network.js
js/ui/status/power.js
js/ui/viewSelector.js
js/ui/windowAttentionHandler.js
js/ui/windowManager.js
js/ui/workspace.js
js/ui/workspaceThumbnail.js
tests/interactive/scroll-view-sizing.js

index 032bac6d6af3fcd300a3115d70e6adef769fc1c8..e6df865cc55795fd6b0803c4f6ad623ef10e32e0 100644 (file)
@@ -401,7 +401,7 @@ var LoginDialog = GObject.registerClass({
         this.connect('destroy', this._onDestroy.bind(this));
         parentActor.add_child(this);
 
-        this._userManager = AccountsService.UserManager.get_default()
+        this._userManager = AccountsService.UserManager.get_default();
         this._gdmClient = new Gdm.Client();
 
         this._settings = new Gio.Settings({ schema_id: GdmUtil.LOGIN_SCREEN_SCHEMA });
index 4ec64edff2b6b9eafc74aa26d681342a8e8be896..f00d3023a4961b6e3022d2b1f57495ee2bcb6dae 100644 (file)
@@ -19,7 +19,7 @@ var Manager = class {
         this._aggregateProvider = Provider(Gio.DBus.system,
                                            'org.freedesktop.realmd',
                                            '/org/freedesktop/realmd',
-                                           this._reloadRealms.bind(this))
+                                           this._reloadRealms.bind(this));
         this._realms = {};
 
         this._signalId = this._aggregateProvider.connect('g-properties-changed',
@@ -104,4 +104,4 @@ var Manager = class {
         this._updateLoginFormat();
     }
 };
-Signals.addSignalMethods(Manager.prototype)
+Signals.addSignalMethods(Manager.prototype);
index 95f2e92e5b6fe3a7a1d0321dab105bf04017b854..f5dd7813c37babafdc7b64531985f9737b65a7ae 100644 (file)
@@ -30,7 +30,7 @@ var LOGO_KEY = 'logo';
 var DISABLE_USER_LIST_KEY = 'disable-user-list';
 
 // Give user 48ms to read each character of a PAM message
-var USER_READ_TIME = 48
+var USER_READ_TIME = 48;
 
 var MessageType = {
     NONE: 0,
index 81fdae0e4be1b7f83d7183f66205ecac6a940986..8f2b94d957b15fbdccfd7f2685247fa05509e8bb 100644 (file)
@@ -86,7 +86,7 @@ function loadInterfaceXML(iface) {
     try {
         let [ok, bytes] = f.load_contents(null);
         if (bytes instanceof Uint8Array)
-            xml = imports.byteArray.toString(bytes)
+            xml = imports.byteArray.toString(bytes);
         else
             xml = bytes.toString();
     } catch (e) {
index 8d46264e14db033b46230bbd8a00196f09300a16..3699a21e556050e570d041168a1a2fb7c2946bcd 100644 (file)
@@ -74,7 +74,7 @@ class InputMethod extends Clutter.InputMethod {
         this._context = null;
         this._hints = 0;
         this._purpose = 0;
-        this._preeditStr = ''
+        this._preeditStr = '';
         this._preeditPos = 0;
         this._preeditVisible = false;
     }
index 33088644dd7a89b71f73808ce5dfc146539e02fe..f54b5ed481083ecd1806c5eb4240a37336a64c83 100644 (file)
@@ -173,7 +173,7 @@ var ModemCdma = class {
             } else {
                 let [bandClass, band, sid] = result;
 
-                this.operator_name = _findProviderForSid(sid)
+                this.operator_name = _findProviderForSid(sid);
             }
             this.emit('notify::operator-name');
         });
index 9118d4d3f97c8bd89d8ee7b7e4857e6c290c36a8..61f60c6e9dedc56a8705cdb95dd49c0f39eba535 100644 (file)
@@ -12,4 +12,4 @@ function PermissionStore(initCallback, cancellable) {
                                     'org.freedesktop.impl.portal.PermissionStore',
                                     '/org/freedesktop/impl/portal/PermissionStore',
                                     initCallback, cancellable);
-};
+}
index 9362f32ea365dfae94aba915b4cea1ed85a0544c..bfe9cfed8ea681750057a831b2d809de633a4534 100644 (file)
@@ -380,7 +380,7 @@ class CloseButton extends St.Button {
         let themeNode = this.get_theme_node();
 
         let offY = this._computeBoxPointerOffset();
-        this.translation_x = themeNode.get_length('-shell-close-overlap-x')
+        this.translation_x = themeNode.get_length('-shell-close-overlap-x');
         this.translation_y = themeNode.get_length('-shell-close-overlap-y') + offY;
     }
 
index 661f2ef9a610ddb1712bb57dbe4b169870ca612c..f9fb298b258d6866279f6caa67ff319f95c1f7d6 100644 (file)
@@ -30,7 +30,7 @@ var METRICS = {
     geditStartTime:
     { description: "Time from gedit launch to window drawn",
       units: "us" },
-}
+};
 
 function waitAndDraw(milliseconds) {
     let cb;
index b5681435ec512874bb05064bbda130a9537251d8..a75716a04e94dc0ea5ecb0d4e021aed0c159b523 100644 (file)
@@ -36,7 +36,7 @@ function _createWindowClone(window, size) {
                                // usual hack for the usual bug in ClutterBinLayout...
                                x_expand: true,
                                y_expand: true });
-};
+}
 
 function getWindows(workspace) {
     // We ignore skip-taskbar windows in switchers, but if they are attached
@@ -459,7 +459,7 @@ class CyclerHighlight {
     _onDestroy() {
         this.window = null;
     }
-};
+}
 
 // We don't show an actual popup, so just provide what SwitcherPopup
 // expects instead of inheriting from SwitcherList
@@ -1036,7 +1036,7 @@ class WindowList extends SwitcherPopup.SwitcherList {
             this.icons.push(icon);
 
             icon._unmanagedSignalId = icon.window.connect('unmanaged', (window) => {
-                this._removeWindow(window)
+                this._removeWindow(window);
             });
         }
 
@@ -1072,7 +1072,7 @@ class WindowList extends SwitcherPopup.SwitcherList {
         childBox.y1 = childBox.y2 - this._label.height;
         this._label.allocate(childBox, flags);
 
-        let totalLabelHeight = this._label.height + themeNode.get_padding(St.Side.BOTTOM)
+        let totalLabelHeight = this._label.height + themeNode.get_padding(St.Side.BOTTOM);
         childBox.x1 = box.x1;
         childBox.x2 = box.x2;
         childBox.y1 = box.y1;
index b2226d3e353b65f9e14098431b0f29a3f5209ea6..1c67d9638ae1ba18a75fab1325e7b8f8939a44a7 100644 (file)
@@ -217,7 +217,7 @@ class BaseAppView {
 
         Tweener.addTween(this._grid, params);
     }
-};
+}
 Signals.addSignalMethods(BaseAppView.prototype);
 
 var AllView = class AllView extends BaseAppView {
@@ -852,7 +852,7 @@ var AppDisplay = class AppDisplay {
             this._controls.opacity = 0;
             finalOpacity = 255;
         } else {
-            finalOpacity = 0
+            finalOpacity = 0;
         }
 
         Tweener.addTween(this._controls,
index 657e15965ab9ba523f273f185f5ac150ecc19e87..dd1de1fc9bf94961ac335d3555f021ae7e52d3d7 100644 (file)
@@ -187,7 +187,7 @@ class AppFavorites {
                                    }
                                  });
     }
-};
+}
 Signals.addSignalMethods(AppFavorites.prototype);
 
 var appFavoritesInstance = null;
index ef7930388d4af6e462a05884774230bd5f2bc079..ce45a6577592d383281b84e7b88d0edd5573497a 100644 (file)
@@ -110,7 +110,7 @@ var AudioDeviceSelectionDialog = GObject.registerClass({
     }
 
     _openSettings() {
-        let desktopFile = 'gnome-sound-panel.desktop'
+        let desktopFile = 'gnome-sound-panel.desktop';
         let app = Shell.AppSystem.get_default().lookup_app(desktopFile);
 
         if (!app) {
index d2f961ce2e09a2235fa14834c81d5890ba399e3f..3a0a1a4fb3929b1bd8ebc7062cfe5778fb698e7b 100644 (file)
@@ -14,7 +14,7 @@ var BarLevel = class {
         this._barLevelWidth = 0;
 
         if (params == undefined)
-            params = {}
+            params = {};
 
         this.actor = new St.DrawingArea({ styleClass: params['styleClass'] || 'barlevel',
                                           can_focus: params['canFocus'] || false,
index 422ddbf50fbdd33495c361327516559a823a2921..fdeea723ffa0924f3fcca399678abcc546686558 100644 (file)
@@ -396,7 +396,7 @@ var BoxPointer = GObject.registerClass({
                 cr.lineTo(x1 - rise, y1);
                 cr.lineTo(x1 + borderRadius, y1);
             } else if (skipBottomLeft) {
-                cr.lineTo(x1 - rise, y2)
+                cr.lineTo(x1 - rise, y2);
                 cr.lineTo(x1 - rise, y2 - halfBase);
             } else {
                 cr.lineTo(x1, this._arrowOrigin + halfBase);
@@ -437,7 +437,7 @@ var BoxPointer = GObject.registerClass({
                 this._sourceActorDestroyId = this._sourceActor.connect('destroy', () => {
                     this._sourceActor = null;
                     delete this._sourceActorDestroyId;
-                })
+                });
             }
         }
 
index ee2045ec79fc12a03437aa7d575a04c244e3718e..0806b2067c931b8ec892d2056bcd323df3e739d8 100644 (file)
@@ -6,8 +6,8 @@ const Dialog = imports.ui.dialog;
 const Main = imports.ui.main;
 const Tweener = imports.ui.tweener;
 
-var FROZEN_WINDOW_BRIGHTNESS = -0.3
-var DIALOG_TRANSITION_TIME = 0.15
+var FROZEN_WINDOW_BRIGHTNESS = -0.3;
+var DIALOG_TRANSITION_TIME = 0.15;
 var ALIVE_TIMEOUT = 5000;
 
 var CloseDialog = GObject.registerClass({
@@ -165,7 +165,7 @@ var CloseDialog = GObject.registerClass({
         GLib.source_remove(this._timeoutId);
         this._timeoutId = 0;
 
-        global.display.disconnect(this._windowFocusChangedId)
+        global.display.disconnect(this._windowFocusChangedId);
         this._windowFocusChangedId = 0;
 
         global.stage.disconnect(this._keyFocusChangedId);
index fccadca12984aabc8a30b3b95bd1297297f4feef..ed39282f79004a278d5006fdfbf091ca617cb6f7 100644 (file)
@@ -172,7 +172,7 @@ class KeyringDialog extends ModalDialog.ModalDialog {
 
         log('keyringPrompt: Failed to show modal dialog.' +
             ' Dismissing prompt request');
-        this.prompt.cancel()
+        this.prompt.cancel();
         return false;
     }
 
index 03dc0f229589e94a03210c362a2ca8594ee0a206..efe08137daf29a59110f3fa43b742196adc485f7 100644 (file)
@@ -343,7 +343,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
             break;
         default:
             log('Invalid connection type: ' + connectionType);
-        };
+        }
 
         return content;
     }
index c32d52b0ff91d7f2d230b744609eb8e4eaa68032..39a4d804095075a6f97efb60f012156926e268e9 100644 (file)
@@ -50,7 +50,7 @@ var AuthenticationDialog = GObject.registerClass({
             userName = userNames[0];
 
         this._user = AccountsService.UserManager.get_default().get_user(userName);
-        let userRealName = this._user.get_real_name()
+        let userRealName = this._user.get_real_name();
         this._userLoadedId = this._user.connect('notify::is_loaded',
                                                 this._onUserChanged.bind(this));
         this._userChangedId = this._user.connect('changed',
index f010a52ae63fc404201109d84caab8cd2526aae3..884b4df27c78e6cae54b984354698e5900a47e8e 100644 (file)
@@ -81,7 +81,7 @@ class DashItemContainer extends St.Widget {
         let itemHeight = this.allocation.y2 - this.allocation.y1;
 
         let labelHeight = this.label.get_height();
-        let yOffset = Math.floor((itemHeight - labelHeight) / 2)
+        let yOffset = Math.floor((itemHeight - labelHeight) / 2);
 
         let y = stageY + yOffset;
 
index fad27cfd2a2f44f95b4ad45015662d5f6477b12e..4392b7f109c2b004d0470b3c7eb312b15d4b2b07 100644 (file)
@@ -47,7 +47,7 @@ var TodayButton = class TodayButton {
         this._calendar.connect('selected-date-changed', (calendar, date) => {
             // Make the button reactive only if the selected date is not the
             // current date.
-            this.actor.reactive = !_isToday(date)
+            this.actor.reactive = !_isToday(date);
         });
     }
 
index 367815dbdc6f188ab57892933857855425032800..37e48cb41297f327ac71713432f01d38cd532b01 100644 (file)
@@ -689,12 +689,12 @@ var _Draggable = class _Draggable {
         params['onCompleteParams'] = [this._dragActor, eventTime];
 
         // start the animation
-        Tweener.addTween(this._dragActor, params)
+        Tweener.addTween(this._dragActor, params);
     }
 
     _finishAnimation() {
         if (!this._animationInProgress)
-            return
+            return;
 
         this._animationInProgress = false;
         if (!this._buttonDown)
index f51b78971d633d694877d60c8449b251f4c5b126..2bfb57bfe023c60e570eaa65309af30b54a06a17 100644 (file)
@@ -44,7 +44,7 @@ var CandidateArea = class CandidateArea {
             case Clutter.ScrollDirection.DOWN:
                 this.emit('cursor-down');
                 break;
-            };
+            }
             return Clutter.EVENT_PROPAGATE;
         });
 
index 22732f9a196d656571c63bd93238f06dd9362ad9..f635836ea4b2f1354804ec23c09d998995b40359 100644 (file)
@@ -141,7 +141,7 @@ class BaseIcon extends St.Bin {
 
 function clamp(value, min, max) {
     return Math.max(Math.min(value, max), min);
-};
+}
 
 function zoomOutActor(actor) {
     let actorClone = new Clutter.Clone({ source: actor,
@@ -385,7 +385,7 @@ var IconGrid = GObject.registerClass({
 
             let childVolume = child.get_transformed_paint_volume(this);
             if (!childVolume)
-                return false
+                return false;
 
             paintVolume.union(childVolume);
         }
@@ -887,7 +887,7 @@ var PaginatedIconGrid = GObject.registerClass({
         if (!this._nPages)
             return 0;
 
-        let firstPageItem = pageNumber * this._childrenPerPage
+        let firstPageItem = pageNumber * this._childrenPerPage;
         let childBox = this._getVisibleChildren()[firstPageItem].get_allocation_box();
         return childBox.y1 - this.topPadding;
     }
index 2a096f2c1de6effd3037dd6cf7ffb5b6c2846d09..e46da2a3559cfca98f130f04e3669252a9cbc14c 100644 (file)
@@ -297,7 +297,7 @@ var Key = class Key {
     }
 
     _press(key) {
-        this.emit('activated')
+        this.emit('activated');
 
         if (key != this.key || this._extended_keys.length == 0) {
             this.emit('pressed', this._getKeyval(key), key);
@@ -680,7 +680,7 @@ var EmojiPager = class EmojiPager {
 
     _onPanEnd() {
         if (Math.abs(this._delta) < this.actor.width * PANEL_SWITCH_RELATIVE_DISTANCE) {
-            this._onPanCancel()
+            this._onPanCancel();
         } else {
             let value;
             if (this._delta > 0)
@@ -951,7 +951,7 @@ var EmojiSelection = class EmojiSelection {
             let section = this._sections[i];
 
             key = new Key(section.label, []);
-            key.connect('released', () => { this._emojiPager.setCurrentSection(section, 0) });
+            key.connect('released', () => { this._emojiPager.setCurrentSection(section, 0); });
             row.appendKey(key.actor);
 
             section.button = key;
@@ -1750,13 +1750,13 @@ var KeyboardController = class {
             purpose == Clutter.InputContentPurpose.PHONE)
             keypadVisible = true;
 
-        this.emit('emoji-visible', emojiVisible)
+        this.emit('emoji-visible', emojiVisible);
         this.emit('keypad-visible', keypadVisible);
     }
 
     getGroups() {
         let inputSources = this._inputSourceManager.inputSources;
-        let groups = []
+        let groups = [];
 
         for (let i in inputSources) {
             let is = inputSources[i];
index 0ab5728ccc03912250b66148402d17b4112cea96..cb6efbf72aaf86017e80f03ea63d285fa12f38fa 100644 (file)
@@ -5,7 +5,7 @@ const Ripples = imports.ui.ripples;
 const Main = imports.ui.main;
 
 const LOCATE_POINTER_KEY = "locate-pointer";
-const LOCATE_POINTER_SCHEMA = "org.gnome.desktop.interface"
+const LOCATE_POINTER_SCHEMA = "org.gnome.desktop.interface";
 
 var LocatePointer = class {
     constructor() {
index 5e35a8e6cbdea66430a4f0fd744639ba64e59f91..8bc4e50d0bf22507820b3d3dc9704437ea59445c 100644 (file)
@@ -179,7 +179,7 @@ var ModalDialog = GObject.registerClass({
                                time: OPEN_AND_CLOSE_TIME,
                                transition: 'easeOutQuad',
                                onComplete: this._closeComplete.bind(this)
-                             })
+                             });
         else
             this._closeComplete();
     }
index 84147d41a59884cd0c2387bde09e045a090fc6e4..df5181a7c450b6e09b578299b2616f3205ad6a86 100644 (file)
@@ -231,7 +231,7 @@ var FdoNotificationDaemon = class FdoNotificationDaemon {
             // There's already a pending call to GetConnectionUnixProcessID,
             // which will see the new notification data when it finishes,
             // so we don't have to do anything.
-            return invocation.return_value(GLib.Variant.new('(u)', [id]));;
+            return invocation.return_value(GLib.Variant.new('(u)', [id]));
         }
 
         this._busProxy.GetConnectionUnixProcessIDRemote(sender, (result, excp) => {
index a58d635247cdcd82a1a4058df699e813e82f6678..223e217d6bbf15e04c6664f5e993d7b8c1d2c27a 100644 (file)
@@ -18,7 +18,7 @@ function getRtlSlideDirection(direction, actor) {
             SlideDirection.RIGHT : SlideDirection.LEFT;
 
     return direction;
-};
+}
 
 var SlideDirection = {
     LEFT: 0,
index 903b967c46f1b8c9811de603cb53a960c7cff2f1..b5067795e1e1a9d441a4bf9ec0bcee7ba980ea6e 100644 (file)
@@ -121,7 +121,7 @@ var ActionComboBox = class {
         this.actor.set_child(box);
 
         this._label = new St.Label({ style_class: 'combo-box-label' });
-        box.add_child(this._label)
+        box.add_child(this._label);
 
         let arrow = new St.Icon({ style_class: 'popup-menu-arrow',
                                   icon_name: 'pan-down-symbolic',
@@ -457,7 +457,7 @@ var PadDiagram = GObject.registerClass({
         // I miss Cairo.Matrix
         let dimensions = this._handle.get_dimensions();
         x = x * this._scale + this._actorWidth / 2 - dimensions.width / 2 * this._scale;
-        y = y * this._scale + this._actorHeight / 2 - dimensions.height / 2 * this._scale;;
+        y = y * this._scale + this._actorHeight / 2 - dimensions.height / 2 * this._scale;
         return [Math.round(x), Math.round(y)];
     }
 
@@ -488,7 +488,7 @@ var PadDiagram = GObject.registerClass({
             pos.y = this._imageHeight - pos.y;
         }
 
-        let [x, y] = this._transformPoint(pos.x, pos.y)
+        let [x, y] = this._transformPoint(pos.x, pos.y);
 
         return [true, x, y, direction];
     }
@@ -734,7 +734,7 @@ var PadOsd = class {
     _updatePadChooser() {
         if (this._groupPads.length > 1) {
             if (this._padChooser == null) {
-                this._padChooser = new PadChooser(this.padDevice, this._groupPads)
+                this._padChooser = new PadChooser(this.padDevice, this._groupPads);
                 this._padChooser.connect('pad-selected', (chooser, pad) => {
                     this._requestForOtherPad(pad);
                 });
@@ -864,7 +864,7 @@ var PadOsd = class {
             if (this._followUpActionEdition(str))
                 return;
 
-            this._padDiagram.stopEdition(false, str ? str : _("None"))
+            this._padDiagram.stopEdition(false, str ? str : _("None"));
             this._editedAction = null;
         }
 
index fbd65a2636dc673bfeee48b8982d85a6b89be21f..79c71c9f43a2fcc5bd7dfbcad94d5d26bc63a217 100644 (file)
@@ -51,7 +51,7 @@ function _premultiply(color) {
                                green: _norm(color.green * color.alpha),
                                blue: _norm(color.blue * color.alpha),
                                alpha: color.alpha });
-};
+}
 
 function _unpremultiply(color) {
     if (color.alpha == 0)
@@ -62,7 +62,7 @@ function _unpremultiply(color) {
     let blue = Math.min((color.blue * 255 + 127) / color.alpha, 255);
     return new Clutter.Color({ red: red, green: green,
                                blue: blue, alpha: color.alpha });
-};
+}
 
 class AppMenu extends PopupMenu.PopupMenu {
     constructor(sourceActor) {
@@ -1189,7 +1189,7 @@ class Panel extends St.Widget {
 
     _getDraggableWindowForPosition(stageX) {
         let workspaceManager = global.workspace_manager;
-        let workspace = workspaceManager.get_active_workspace()
+        let workspace = workspaceManager.get_active_workspace();
         let allWindowsByStacking = global.display.sort_windows_by_stacking(
             workspace.list_windows()
         ).reverse();
@@ -1200,7 +1200,7 @@ class Panel extends St.Widget {
                    metaWindow.showing_on_its_workspace() &&
                    metaWindow.get_window_type() != Meta.WindowType.DESKTOP &&
                    metaWindow.maximized_vertically &&
-                   stageX > rect.x && stageX < rect.x + rect.width
+                   stageX > rect.x && stageX < rect.x + rect.width;
         });
     }
 });
index 6ec379899ae69a34f8f990a84547a381e76843d2..617555eb79d61022cfbc5414f27df4b8f6097710 100644 (file)
@@ -67,7 +67,7 @@ class PieTimer extends St.DrawingArea {
                            time: duration / 1000,
                            transition: 'easeOutQuad',
                            onUpdateScope: this,
-                           onUpdate() { this.queue_repaint() },
+                           onUpdate() { this.queue_repaint(); },
                            onCompleteScope: this,
                            onComplete() { this.stop(); }
                           });
index d48f1f3c3d16a366f627f0fb28c9fb2f4f6b0b29..5c672d5e28be4429efe3f1dd7a38b5515389d94a 100644 (file)
@@ -261,7 +261,7 @@ class PopupMenuItem extends PopupBaseMenuItem {
 
         this.label = new St.Label({ text: text });
         this.add_child(this.label);
-        this.label_actor = this.label
+        this.label_actor = this.label;
     }
 });
 
index 0c3c00d19293067ab72e336684e9618e5bdaf0e0..9501bf0c8cda14c7524ae26f9eb84f7b3202d524 100644 (file)
@@ -1288,7 +1288,7 @@ var ScreenShield = class {
 
     lock(animate) {
         if (this._lockSettings.get_boolean(DISABLE_LOCK_KEY)) {
-            log('Screen lock is locked down, not locking') // lock, lock - who's there?
+            log('Screen lock is locked down, not locking'); // lock, lock - who's there?
             return;
         }
 
index c6896ff9b9e49b7e04ad836aabe6439ae981617b..d094579eaba1dd512a9cb42c89e2b3cc041066ca 100644 (file)
@@ -27,7 +27,7 @@ var ScreenshotService = class {
     _createScreenshot(invocation, needsDisk=true) {
         let lockedDown = false;
         if (needsDisk)
-            lockedDown = this._lockdownSettings.get_boolean('disable-save-to-disk')
+            lockedDown = this._lockdownSettings.get_boolean('disable-save-to-disk');
 
         let sender = invocation.get_sender();
         if (this._screenShooter.has(sender) || lockedDown) {
index 62b42f71bdf7557978604ead0174d1e26695fb30..c3130c526ae210e01b6ef9bb3753e66f1bdfb5b3 100644 (file)
@@ -118,7 +118,7 @@ function _setMenuAlignment(entry, stageX) {
     let [success, entryX, entryY] = entry.transform_stage_point(stageX, 0);
     if (success)
         entry.menu.setSourceAlignment(entryX / entry.width);
-};
+}
 
 function _onButtonPressEvent(actor, event, entry) {
     if (entry.menu.isOpen) {
@@ -131,14 +131,14 @@ function _onButtonPressEvent(actor, event, entry) {
         return Clutter.EVENT_STOP;
     }
     return Clutter.EVENT_PROPAGATE;
-};
+}
 
 function _onPopup(actor, entry) {
     let [success, textX, textY, lineHeight] = entry.clutter_text.position_to_coords(-1);
     if (success)
         entry.menu.setSourceAlignment(textX / entry.width);
     entry.menu.open(BoxPointer.PopupAnimation.FULL);
-};
+}
 
 function addContextMenu(entry, params) {
     if (entry.menu)
index 4025a11fd3edc20c57ab3f4cc3f8df72bfa8dfc7..9b77057dee78db21794e4ecff6c5ba691d65a774 100644 (file)
@@ -14,8 +14,8 @@ var Slider = class extends BarLevel.BarLevel {
             canFocus: true,
             reactive: true,
             accessibleRole: Atk.Role.SLIDER,
-        }
-        super(value, params)
+        };
+        super(value, params);
 
         this.actor.connect('button-press-event', this._startDragging.bind(this));
         this.actor.connect('touch-event', this._touchDragging.bind(this));
index b47b27dc0ac9943bda0151d621944f9cd6703b8b..b8d8348a3229eb4d273c23cf5174e7b2e960abc6 100644 (file)
@@ -916,7 +916,7 @@ class NMWirelessDialog extends ModalDialog.ModalDialog {
                             this._device.get_path(), accessPoints[0].get_path()]);
             } else {
                 let connection = new NM.SimpleConnection();
-                this._client.add_and_activate_connection_async(connection, this._device, accessPoints[0].get_path(), null, null)
+                this._client.add_and_activate_connection_async(connection, this._device, accessPoints[0].get_path(), null, null);
             }
         }
 
index 252b0dc4e5b8994956ad4a1bd2667c676cee7ff5..5569210bb129d4400c025a04b9ef5f583fb3b4bc 100644 (file)
@@ -112,7 +112,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
         this._item.icon.icon_name = icon;
 
         // The icon label
-        let label
+        let label;
         if (this._proxy.State == UPower.DeviceState.FULLY_CHARGED)
           label = _("%d\u2009%%").format(100);
         else
index a46cb4cce295f052d60744609e79cad4cf143438..ef2080e965da7579c0cf8c243d9d4333f02b86d4 100644 (file)
@@ -314,7 +314,7 @@ var ViewSelector = class {
                                               focusCallback: () => {
                                                   this._a11yFocusPage(page);
                                               }
-                                            });;
+                                            });
         page.hide();
         this.actor.add_actor(page);
         return page;
@@ -363,7 +363,7 @@ var ViewSelector = class {
             this._activePage == this._workspacesPage &&
             !Main.overview.animationInProgress) {
             this.appDisplay.animate(IconGrid.AnimationDirection.OUT, () => {
-                this._animateIn(oldPage)
+                this._animateIn(oldPage);
             });
         } else {
             this._fadePageOut(page);
@@ -382,7 +382,7 @@ var ViewSelector = class {
         this.emit('page-changed');
 
         if (oldPage)
-            this._animateOut(oldPage)
+            this._animateOut(oldPage);
         else
             this._animateIn();
     }
index a9a7111bae6cf4e40d4e1d051df6932695e27ccf..f5aeaf29c595845b4397b627b00db197b33c9556 100644 (file)
@@ -17,7 +17,7 @@ var WindowAttentionHandler = class {
     _getTitleAndBanner(app, window) {
         let title = app.get_name();
         let banner = _("“%s” is ready").format(window.get_title());
-        return [title, banner]
+        return [title, banner];
     }
 
     _onWindowDemandsAttention(display, window) {
index a25da99648e24f6c6e693a8f004b9fabb962bbc8..036a0f396bfef9a0d4887e65ef8996b1d32c6469 100644 (file)
@@ -1096,7 +1096,7 @@ var WindowManager = class {
         let updateUnfullscreenGesture = () => {
             let currentWindow = global.display.focus_window;
             topDragAction.enabled = currentWindow && currentWindow.is_fullscreen();
-        }
+        };
 
         global.display.connect('notify::focus-window', updateUnfullscreenGesture);
         global.display.connect('in-fullscreen-changed', updateUnfullscreenGesture);
@@ -1106,7 +1106,7 @@ var WindowManager = class {
 
     _showPadOsd(display, device, settings, imagePath, editionMode, monitorIndex) {
         this._currentPadOsd = new PadOsd.PadOsd(device, settings, imagePath, editionMode, monitorIndex);
-        this._currentPadOsd.connect('closed', () => { this._currentPadOsd = null });
+        this._currentPadOsd.connect('closed', () => { this._currentPadOsd = null; });
 
         return this._currentPadOsd.actor;
     }
index 16c0e188c477cd789443fd91c67175ecbb62406b..4b7e80082db0f17d16eb12ee68429dc5701e5749 100644 (file)
@@ -903,7 +903,7 @@ var LayoutStrategy = class {
 
         // keep track how much smaller the grid becomes due to scaling
         // so it can be centered again
-        let compensation = 0
+        let compensation = 0;
         let y = 0;
 
         for (let i = 0; i < rows.length; i++) {
@@ -925,7 +925,7 @@ var LayoutStrategy = class {
                 // height would undo what vertical scaling is trying to achieve.
             }
 
-            row.x = area.x + (Math.max(area.width - (widthWithoutSpacing * row.additionalScale + horizontalSpacing), 0) / 2)
+            row.x = area.x + (Math.max(area.width - (widthWithoutSpacing * row.additionalScale + horizontalSpacing), 0) / 2);
             row.y = area.y + (Math.max(area.height - (heightWithoutSpacing + verticalSpacing), 0) / 2) + y;
             y += row.height * row.additionalScale + this._rowSpacing;
         }
index 765f80146e5b9339f8d8c98527a97f7faf82c605..e39f139f9e694b7200a8465662ee7eeab78e6983 100644 (file)
@@ -686,7 +686,7 @@ class ThumbnailsBox extends St.Widget {
         let [r, x, y] = this.transform_stage_point(stageX, stageY);
 
         for (let i = 0; i < this._thumbnails.length; i++) {
-            let thumbnail = this._thumbnails[i]
+            let thumbnail = this._thumbnails[i];
             let [w, h] = thumbnail.actor.get_transformed_size();
             if (y >= thumbnail.actor.y && y <= thumbnail.actor.y + h) {
                 thumbnail.activate(time);
@@ -789,7 +789,7 @@ class ThumbnailsBox extends St.Widget {
                 break;
             } else if (y > targetBottom && y <= nextTargetTop) {
                 this._dropWorkspace = i;
-                break
+                break;
             }
 
             targetBase = nextTargetBase;
index f01352188b4e976d7ce107e9117cd93fe8d4cd6f..d94dcee0751f33ab36b5e837d1c0f024d4bfcc1c 100644 (file)
@@ -35,7 +35,7 @@ class FlowedBoxes extends St.Widget {
 
        for (let i = 0; i < BOX_WIDTHS.length; i++) {
            let child = new St.Bin({ width: BOX_WIDTHS[i], height: BOX_HEIGHT,
-                                    style: 'border: 1px solid #444444; background: #00aa44' })
+                                    style: 'border: 1px solid #444444; background: #00aa44' });
            this.add_actor(child);
        }
     }